import request from '../request'

//微信登录
export const wxLogin = params => request.globalRequest(`/api/v1/appLogin/wxLogin`, 'POST', params, false)

//登录
export const login = params => request.globalRequest(`/api/v1/appLogin/login`, 'POST', params, false)

//注册
export const register = params => request.globalRequest(`/api/v1/appLogin/register`, 'POST', params, false)

//移动端保存设备信息
export const saveClientId = params => request.globalRequest(`/api/v1/appLogin/saveClientId`, 'GET', params, false)

//发送短信接口
export const sendSms = params => request.globalRequest(`/api/v1/appLogin/sendSms`, 'POST', params)

//用户更改密码
export const updatePsd = params => request.globalRequest(`/api/v1/appLogin/updatePsd`, 'GET', params)

//注销账号
export const logoutAccount = params => request.globalRequest(`/api/v1/appLogin/logoutAccount`, 'GET', params)


 